-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix flaky integ test caused by latency of undeploy model #345
Fix flaky integ test caused by latency of undeploy model #345
Conversation
Signed-off-by: zhichao-aws <[email protected]>
Signed-off-by: zhichao-aws <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #345 +/- ##
=========================================
Coverage 84.56% 84.56%
Complexity 427 427
=========================================
Files 35 35
Lines 1289 1289
Branches 189 189
=========================================
Hits 1090 1090
Misses 118 118
Partials 81 81 |
@zane-neo does this change needs to be backported? |
Yes, let's backport this. |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-345-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 67ced0d0b9f1725b150721156481abc86fee3020
# Push it to GitHub
git push --set-upstream origin backport/backport-345-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
…project#345) * add 3s sleep before delete model Signed-off-by: zhichao-aws <[email protected]> * remove print stack trace Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> (cherry picked from commit 67ced0d)
…model (opensearch-project#345) Signed-off-by: zane-neo <[email protected]>
…model (#345) (#352) Signed-off-by: zane-neo <[email protected]>
Description
For ml-commons plugin, after model undeploy returns, the max interval to update model status is 3s in ml-commons CronJob. This can cause flaky integ test in neural-search plugin. Add 3s sleep to fix this.
example: https://github.com/opensearch-project/neural-search/actions/runs/6321926472/job/17166662817
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.